package cn.yuanqiao.archive.liyong.service;

import cn.yuanqiao.archive.liyong.domain.TenantDownloadRecord;
import cn.yuanqiao.archive.liyong.domain.vo.DownloadRecord;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author zjj
 * @date 2023/9/12
 */
public interface TenantDownloadRecordSerive {
    int insertTenantDownloadRecord(TenantDownloadRecord downloadRecord);

    int updateTenantDownloadRecord(TenantDownloadRecord downloadRecord);

    List<DownloadRecord> selectDownloadRecord(Long categoryId,Long menuId,String fileName,String userName);

    void download(Long id,String sydm, HttpServletResponse response)throws Exception;
}
